package com.pactera.asmp.server.job.dispatch.impl;

import com.pactera.asmp.server.common.constants.DeviceEventType;
import com.pactera.asmp.server.job.dispatch.IDeviceEvent;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 设备事件
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class DeviceEvent extends BaseEvent implements IDeviceEvent {

    private DeviceEventType eventType;

    private String duid;

    @Override
    public Enum getType() {
        return eventType;
    }


    @Override
    public String getDuid() {
        return duid;
    }

}
